package com.zero.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
import java.util.Date;

/**
 * (Storage)表实体类
 *
 * @author makejava
 * @since 2022-04-24 18:02:18
 */
@SuppressWarnings("serial")
@TableName("t_storage")
public class Storage {

    @TableId(type = IdType.ASSIGN_ID)
    private int id;

    @TableField("goods_name")
    private Integer goodsName;

    @TableField("storage_count")
    private Integer storageCount;

    @TableField("modify_time")
    private Date modifyTime;

    public Storage() {
    }

    public Storage(int id, Integer goodsName, Integer storageCount) {
        this.id = id;
        this.goodsName = goodsName;
        this.storageCount = storageCount;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Integer getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(Integer goodsName) {
        this.goodsName = goodsName;
    }

    public Integer getStorageCount() {
        return storageCount;
    }

    public void setStorageCount(Integer storageCount) {
        this.storageCount = storageCount;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    @Override
    public String toString() {
        return "Storage{" +
            "id=" + id +
            ", goodsName=" + goodsName +
            ", storageCount=" + storageCount +
            ", modifyTime=" + modifyTime +
            '}';
    }
}

